package com.linkgie.galaxyframework.templating.model.maven;

import java.util.List;

public class MavenBuild {

	private String finalName;

	private List<Resource> resources;

	private List<MavenPlugin> plugins;

	private PluginManagement pluginManagement;

	public String getFinalName() {
		return finalName;
	}

	public void setFinalName(String finalName) {
		this.finalName = finalName;
	}

	public List<Resource> getResources() {
		return resources;
	}

	public void setResources(List<Resource> resources) {
		this.resources = resources;
	}

	public List<MavenPlugin> getPlugins() {
		return plugins;
	}

	public void setPlugins(List<MavenPlugin> plugins) {
		this.plugins = plugins;
	}

	public PluginManagement getPluginManagement() {
		return pluginManagement;
	}

	public void setPluginManagement(PluginManagement pluginManagement) {
		this.pluginManagement = pluginManagement;
	}

	// -----------------------------------

	public static class PluginManagement {

		private List<MavenPlugin> plugins;

		public List<MavenPlugin> getPlugins() {
			return plugins;
		}

		public void setPlugins(List<MavenPlugin> plugins) {
			this.plugins = plugins;
		}

	}

	public static class Resource {

		private String directory;

		private String targetPath;

		public String getDirectory() {
			return directory;
		}

		public void setDirectory(String directory) {
			this.directory = directory;
		}

		public String getTargetPath() {
			return targetPath;
		}

		public void setTargetPath(String targetPath) {
			this.targetPath = targetPath;
		}

	}

}
